//
//  PWebDPDAPI.m
//  browserHD
//
//  Created by kevinxuls on 13-5-10.
//  Copyright (c) 2013年 Terry. All rights reserved.
//

#import "PWebDPDAPI.h"

@implementation PWebDPDAPI

+ (PWebDPDAPI *)defaultKit {
    static PWebDPDAPI *defaultKit;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        defaultKit = [[PWebDPDAPI alloc] init];
    });
    return defaultKit;
}

- (id)init {
    self = [super init];
    if (self) {
        self.type = [[NSString alloc] initWithString:NSStringFromClass([self class])];
        
        self.selectors = @[@"c2hhcmVkUG9saWN5RGVsZWdhdGU=",
                           //0//+ (id)sharedPolicyDelegate;
                           @"d2ViVmlldzp1bmFibGVUb0ltcGxlbWVudFBvbGljeVdpdGhFcnJvcjpmcmFtZTo=",
                           //1//- (void)webView:(id)arg1 unableToImplementPolicyWithError:(id)arg2 frame:(id)arg3;
                           @"d2ViVmlldzpkZWNpZGVQb2xpY3lGb3JNSU1FVHlwZTpyZXF1ZXN0OmZyYW1lOmRlY2lzaW9uTGlzdGVuZXI6",
                           //2//- (void)webView:(id)arg1 decidePolicyForMIMEType:(id)arg2 request:(id)arg3 frame:(id)arg4 decisionListener:(id)arg5;
                           @"d2ViVmlldzpkZWNpZGVQb2xpY3lGb3JOYXZpZ2F0aW9uQWN0aW9uOnJlcXVlc3Q6ZnJhbWU6ZGVjaXNpb25MaXN0ZW5lcjo=",
                           //3//- (void)webView:(id)arg1 decidePolicyForNavigationAction:(id)arg2 request:(id)arg3 frame:(id)arg4 decisionListener:(id)arg5;
                           @"d2ViVmlldzpkZWNpZGVQb2xpY3lGb3JOZXdXaW5kb3dBY3Rpb246cmVxdWVzdDpuZXdGcmFtZU5hbWU6ZGVjaXNpb25MaXN0ZW5lcjo=",
                           //4//- (void)webView:(id)arg1 decidePolicyForNewWindowAction:(id)arg2 request:(id)arg3 newFrameName:(id)arg4 decisionListener:(id)arg5;
                           @"d2ViVmlldzpzaG91bGRHb1RvSGlzdG9yeUl0ZW06"
                           //5//- (BOOL)webView:(id)arg1 shouldGoToHistoryItem:(id)arg2;
                           ];
    }
    return self;
}

@end
